-- Do not manually edit this file, it was auto-generated by dillonkearns/elm-graphql
-- https://github.com/dillonkearns/elm-graphql


module Qore.Object.Persname exposing (..)

import Graphql.Internal.Builder.Argument as Argument exposing (Argument)
import Graphql.Internal.Builder.Object as Object
import Graphql.Internal.Encode as Encode exposing (Value)
import Graphql.Operation exposing (RootMutation, RootQuery, RootSubscription)
import Graphql.OptionalArgument exposing (OptionalArgument(..))
import Graphql.SelectionSet exposing (SelectionSet)
import Json.Decode as Decode
import Qore.InputObject
import Qore.Interface
import Qore.Object
import Qore.Scalar
import Qore.ScalarCodecs
import Qore.Union


part : SelectionSet decodesTo Qore.Object.Part -> SelectionSet (List decodesTo) Qore.Object.Persname
part object_ =
    Object.selectionForCompositeField "part" [] object_ (identity >> Decode.list)


id : SelectionSet (Maybe String) Qore.Object.Persname
id =
    Object.selectionForField "(Maybe String)" "id" [] (Decode.string |> Decode.nullable)


altrender : SelectionSet (Maybe String) Qore.Object.Persname
altrender =
    Object.selectionForField "(Maybe String)" "altrender" [] (Decode.string |> Decode.nullable)


audience : SelectionSet (Maybe String) Qore.Object.Persname
audience =
    Object.selectionForField "(Maybe String)" "audience" [] (Decode.string |> Decode.nullable)


lang : SelectionSet (Maybe String) Qore.Object.Persname
lang =
    Object.selectionForField "(Maybe String)" "lang" [] (Decode.string |> Decode.nullable)


script : SelectionSet (Maybe String) Qore.Object.Persname
script =
    Object.selectionForField "(Maybe String)" "script" [] (Decode.string |> Decode.nullable)


source : SelectionSet (Maybe String) Qore.Object.Persname
source =
    Object.selectionForField "(Maybe String)" "source" [] (Decode.string |> Decode.nullable)


rules : SelectionSet (Maybe String) Qore.Object.Persname
rules =
    Object.selectionForField "(Maybe String)" "rules" [] (Decode.string |> Decode.nullable)


identifier : SelectionSet (Maybe String) Qore.Object.Persname
identifier =
    Object.selectionForField "(Maybe String)" "identifier" [] (Decode.string |> Decode.nullable)


normal : SelectionSet (Maybe String) Qore.Object.Persname
normal =
    Object.selectionForField "(Maybe String)" "normal" [] (Decode.string |> Decode.nullable)


localtype : SelectionSet (Maybe String) Qore.Object.Persname
localtype =
    Object.selectionForField "(Maybe String)" "localtype" [] (Decode.string |> Decode.nullable)


encodinganalog : SelectionSet (Maybe String) Qore.Object.Persname
encodinganalog =
    Object.selectionForField "(Maybe String)" "encodinganalog" [] (Decode.string |> Decode.nullable)


relator : SelectionSet (Maybe String) Qore.Object.Persname
relator =
    Object.selectionForField "(Maybe String)" "relator" [] (Decode.string |> Decode.nullable)
